package com.vincent.redispractise.part01.serialize;

import lombok.Data;

@Data
public class TestObject {
    private Integer age;
    private String name;
    public TestObject(Integer age,String name){
        this.age =age;
        this.name=name;
    }
    //反序列化的对象必须保存无参构造函数
    public TestObject(){
    }
}
